<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
  
  <head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="manager/css/font.css">
    <link rel="stylesheet" href="manager/css/xadmin.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="manager/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="manager/js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  
  <body>
    <div class="x-body">
         <span class="x-red">*</span>新闻名:<span th:text="${news.n_name}" ></span>
        <hr>
         <span class="x-red">*</span>新闻类型:<span th:text="${news.n_category==0?'公司新闻':news.n_category==1?'行业新闻':'学术新闻'}" ></span>
        <hr>
         <span th:if="${news.n_category==0}"><span class="x-red">*</span>新闻公司:<span th:text="${news.n_company}" ></span>
        <hr>
        </span>
         <span class="x-red">*</span>新闻作者:<span th:text="${news.n_issuer}" ></span>
        <hr>
         <span class="x-red">*</span>新闻摘要:<span th:text="${news.n_newp}" ></span>
        <hr>
        <span class="x-red">*</span>新闻封面:<img style="width: 300px;height: 200px;" th:src="${news.n_image}">
        <br>
        <span class="x-red">*</span>新闻主体
        <br>
        <div id="descc">
        </div>
        <script>
            $("#descc").load('[[${news.n_desc}]]')
        </script>
    </div>
  </body>

</html>